package com.liu.jpamysql.service;

/**
 * @Author QS.Liu
 * @date 2020/7/23/23:32
 */

import com.liu.jpamysql.model.Students;
import org.springframework.data.domain.Page;

import java.util.List;

public interface StudentService {
    Students findById(int id);

    void delete(int id);

    Students save(Students students);

    Page<Students> findAll(int page, int pagesize);

    Students update(Students students);

    List<Students> findStuByName(String name);
}

